package com.ebs.md.fxmonitor.marketmonitor.esper;

/**
 * Perforce Revision:
 *  $File: //depot/MarketData/fxmonitor/main/src/main/java/com/ebs/md/fxmonitor/marketmonitor/esper/PassiveHitsNMLBasicFactStatement.java $
 *  $Revision: #2 $  $Change: 115956 $  $DateTime: 2012/10/18 15:01:23 $  $Author: Arik.Sher $
 */

import com.ebs.md.container.esper.AbsStatement;
import com.ebs.md.fxmonitor.marketmonitor.config.IPassiveHitsNMLConfig;


public class PassiveHitsNMLBasicFactStatement
extends AbsStatement<IPassiveHitsNMLConfig>
{
	protected final static long esper_time_period_passive_hits = 10;

	@Override
	protected String createEplExpression() {
		String str =
		String.format(eplExpressionText
			, config.getName()                 // 1. configuration name.
			, esper_time_period_passive_hits   // 2. windows number of seconds.
			, getRegion()                      // 3. region.
	      	);
		return str;
	}

}
